import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_feign_page_detail_entity.g.dart';

///物资清单分页列表
@JsonSerializable()
class GetFeignPageDetailEntity {

	GetFeignPageDetailEntity();

	factory GetFeignPageDetailEntity.fromJson(Map<String, dynamic> json) => $GetFeignPageDetailEntityFromJson(json);
	String? companyCode;
	String? contactNumber;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? id;
	String? locationOfTheRegion;
	String? materialClassification;
	String? materialClassificationName;
	String? materialName;
	String? materialPhotos;
	String? materialPointId;
	String? materialPointIdName;
	String? place;
	String? purpose;
	int? quantity;
	String? responsiblePerson;
	String? transportationAndStorageRequirements;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? usageRecord;
	List<GetFeignPageDetailUsedRecordVos>? usedRecordVos;
	String? validityPeriod;

	Map<String, dynamic> toJson() => $GetFeignPageDetailEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetFeignPageDetailUsedRecordVos {

	GetFeignPageDetailUsedRecordVos();

	factory GetFeignPageDetailUsedRecordVos.fromJson(Map<String, dynamic> json) => $GetFeignPageDetailUsedRecordVosFromJson(json);
	String? date;
	int? num;

	Map<String, dynamic> toJson() => $GetFeignPageDetailUsedRecordVosToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
